﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Platform.Amazon.Model {

    [XmlTypeAttribute(AnonymousType = true)]
    public class StandardPrice {

        [XmlAttribute(AttributeName = "currency")]
        public string currency { get; set; }

        [XmlText]
        public Decimal Value { get; set; }

        public StandardPrice() { }

        public StandardPrice(string curcy, decimal price) {
            currency = curcy;
            Value = price;
        }

    }
}
